<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>2048</title>
		<link rel="stylesheet" type="text/css" href="css/2048.css" />
		
		<!--加载库函数-->
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<!--加载底层JS文件-->
		<script type="text/javascript" src="js/support2048.js"></script>
		<!--加载动画的JS文件-->
		<script type="text/javascript" src="js/showanimation2048.js"></script>
		<!--加载游戏主逻辑的JS文件-->
		<script type="text/javascript" src="js/main2048.js"></script>
		
	</head>
	<body>
	
		<header>
			<h1>2048</h1>
			<a href="javascript:newgame();" id="newgamebutton">New Game</a>
			<p>score:<span id="score">0</span></p>
		</header>
		<!--所有小格子-->
		<div id="grid-container">
			<div class="grid-cell" id="grid-cell-0-0"></div>
			<div class="grid-cell" id="grid-cell-0-1"></div>
			<div class="grid-cell" id="grid-cell-0-2"></div>
			<div class="grid-cell" id="grid-cell-0-3"></div>
			
			<div class="grid-cell" id="grid-cell-1-0"></div>
			<div class="grid-cell" id="grid-cell-1-1"></div>
			<div class="grid-cell" id="grid-cell-1-2"></div>
			<div class="grid-cell" id="grid-cell-1-3"></div>
			
			<div class="grid-cell" id="grid-cell-2-0"></div>
			<div class="grid-cell" id="grid-cell-2-1"></div>
			<div class="grid-cell" id="grid-cell-2-2"></div>
			<div class="grid-cell" id="grid-cell-2-3"></div>
			
			<div class="grid-cell" id="grid-cell-3-0"></div>
			<div class="grid-cell" id="grid-cell-3-1"></div>
			<div class="grid-cell" id="grid-cell-3-2"></div>
			<div class="grid-cell" id="grid-cell-3-3"></div>
		</div>
		
		
		
	</body>
</html>
